﻿namespace designpatternsplusplus.decorator.ServiceContracts
{
    using System.Collections.ObjectModel;
    using System.ServiceModel;
    using designpatternsplus.contracts;
    using DomainEntities;

    /// NOTE: If you change the interface name "IMarketService" here, you must 
    /// also update the reference to "IMarketService" in Web.config.
    [ServiceContract]
    public interface IMarketService
    {
        /// <summary>
        /// Proceses the shopping cart.
        /// </summary>
        /// <param name="values">The values.</param>
        /// <returns></returns>
        [OperationContract]
        ISalesReceipt ProcesShoppingCart(Collection<string> values);

    }
}